﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Models.RModels
{
    //文章评论
    public class R_Comment
    {
        public R_Comment()
        {
            CommentId = DateTime.Now.ToString(DateTime.Now.ToString("yyyyMMddHHmmssfff"));
        }

        /// <summary>
        /// 评论编号
        /// </summary>
        public string CommentId { get; private set; }

        /// <summary>
        /// 评论人编号
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 评论内容
        /// </summary>
        public string Text { get; set; }

        /// <summary>
        /// 评论级别(0:对文章的直接回复, 1:对评论的回复)
        /// </summary>
        public int Level { get; set; }

        /// <summary>
        /// 指向评论下标(只有Level为1时才有效)
        /// </summary>
        public string DictionaryId { get; set; }
    }
}
